package com.yql.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Order implements Serializable {
    private Long orderId;
    private Date orderTime;
    private String depot;
    private String location;
    private String orderer;
    private BigDecimal zrmoney;
    private String deliveryType;
    private String tackingNumber;
    private BigDecimal affixCost;
    private String single;
    private String deliveryPoints;
    private BigDecimal zmoney;
    private Integer uid;
    private Integer mid;

    @Override
    public String toString() {
        return "Order{" +
                "orderId=" + orderId +
                ", orderTime=" + orderTime +
                ", depot='" + depot + '\'' +
                ", location='" + location + '\'' +
                ", orderer='" + orderer + '\'' +
                ", zrmoney=" + zrmoney +
                ", deliveryType='" + deliveryType + '\'' +
                ", tackingNumber='" + tackingNumber + '\'' +
                ", affixCost=" + affixCost +
                ", single='" + single + '\'' +
                ", deliveryPoints='" + deliveryPoints + '\'' +
                ", zmoney=" + zmoney +
                ", uid=" + uid +
                ", mid=" + mid +
                '}';
    }

    public Order() {
    }

    public Order(Long orderId, Date orderTime, String depot, String location, String orderer, BigDecimal zrmoney, String deliveryType, String tackingNumber, BigDecimal affixCost, String single, String deliveryPoints, BigDecimal zmoney, Integer uid, Integer mid) {
        this.orderId = orderId;
        this.orderTime = orderTime;
        this.depot = depot;
        this.location = location;
        this.orderer = orderer;
        this.zrmoney = zrmoney;
        this.deliveryType = deliveryType;
        this.tackingNumber = tackingNumber;
        this.affixCost = affixCost;
        this.single = single;
        this.deliveryPoints = deliveryPoints;
        this.zmoney = zmoney;
        this.uid = uid;
        this.mid = mid;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public String getDepot() {
        return depot;
    }

    public void setDepot(String depot) {
        this.depot = depot;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getOrderer() {
        return orderer;
    }

    public void setOrderer(String orderer) {
        this.orderer = orderer;
    }

    public BigDecimal getZrmoney() {
        return zrmoney;
    }

    public void setZrmoney(BigDecimal zrmoney) {
        this.zrmoney = zrmoney;
    }

    public String getDeliveryType() {
        return deliveryType;
    }

    public void setDeliveryType(String deliveryType) {
        this.deliveryType = deliveryType;
    }

    public String getTackingNumber() {
        return tackingNumber;
    }

    public void setTackingNumber(String tackingNumber) {
        this.tackingNumber = tackingNumber;
    }

    public BigDecimal getAffixCost() {
        return affixCost;
    }

    public void setAffixCost(BigDecimal affixCost) {
        this.affixCost = affixCost;
    }

    public String getSingle() {
        return single;
    }

    public void setSingle(String single) {
        this.single = single;
    }

    public String getDeliveryPoints() {
        return deliveryPoints;
    }

    public void setDeliveryPoints(String deliveryPoints) {
        this.deliveryPoints = deliveryPoints;
    }

    public BigDecimal getZmoney() {
        return zmoney;
    }

    public void setZmoney(BigDecimal zmoney) {
        this.zmoney = zmoney;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }
}
